package com.ruoyi.demo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据单位对象 sakura_unit
 * 
 * @author 蓝鲸
 * @date 2024-08-12
 */
public class SakuraUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long unitId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String unitType;

    /** 单位描述 */
    @Excel(name = "单位描述")
    private String unitDescribe;

    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
    }

    public Long getUnitId() 
    {
        return unitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setUnitType(String unitType) 
    {
        this.unitType = unitType;
    }

    public String getUnitType() 
    {
        return unitType;
    }
    public void setUnitDescribe(String unitDescribe) 
    {
        this.unitDescribe = unitDescribe;
    }

    public String getUnitDescribe() 
    {
        return unitDescribe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("unit", getUnit())
            .append("unitType", getUnitType())
            .append("unitDescribe", getUnitDescribe())
            .toString();
    }
}
